// out:false
/* 去除常见标签默认的 margin 和 padding */

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

/* 设置网页统一的字体大小、行高、字体系列相关属性 */

body {
  font: 14px "PingFangSC-Regul", "Helvetica Neue", Helvetica, Arial,
    "Microsoft Yahei", "Hiragino Sans GB", "Heiti SC", "WenQuanYi Micro Hei",
    sans-serif;
  color: #333;
  background-color: #f7f7f7;
}
body,
html {
  height: 100%;
}

/* 去除列表默认样式 */

ul,
ol {
  list-style: none;
}

/* 去除默认的倾斜效果 */

em,
i {
  font-style: normal;
}

/* 去除a标签默认下划线，并设置默认文字颜色 */

a {
  text-decoration: none;
  color: #333;
}

/* 设置img的垂直对齐方式为居中对齐，去除img默认下间隙 */

img {
  width: 100%;
  display: block;
}

/* 去除input默认样式 */

input {
  border: none;
  outline: none;
  color: #333;
}

/* 省略号 */

.ellipsis-1 {
  overflow: hidden;
  text-overflow: ellipsis;
  display: -webkit-box;
  -webkit-line-clamp: 1;
  -webkit-box-orient: vertical;
}
.flex() {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.fontSize() {
  font-size: 3.7333vw;
}

// 公共header部分
header {
  width: 100%;
  height: 11.7333vw;
  .flex;
  justify-content: center;
  background-color: #fff;
  position: relative;
  h1 {
    font-size: 4.2667vw;
  }
  a {
    position: absolute;
    width: 11.7333vw;
    height: 11.7333vw;
    left: 0;
    .flex;
    justify-content: center;
    align-items: center;
    .iconfont {
      font-size: 4.2667vw;
    }
  }
}

// search
.search {
  padding: 2.6667vw;
  background-color: #fff;
  height: 13.3333vw;
  .searchCont {
    width: 100%;
    background-color: #f1f1f2;
    border-radius: 13vw;
    .flex;
    justify-content: center;
    i {
      font-size: 3.7333vw;
    }
    p {
      font-size: 3.7333vw;
      height: 8vw;
      line-height: 8vw;
      color: #999;
    }
  }
}

// footer
footer {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  .flex;
  height: 13.0667vw;
  background-color: #fff;
  padding: 2.1333vw 0;
  a {
    width: 20%;
    text-align: center;
    color: #7d7d7d;
    &.iconfont {
      font-size: 5.0667vw;
      color: red;
    }
    &.cur {
      color: red;
    }
    p {
      font-size: 3.2vw;
    }
  }
}

.commonMoney {
  color: red;
  font-size: 3.2vw;
  span {
    font-size: 4.8vw;
    color: red;
  }
}
//两行省略
.twoRowEllipsis() {
  word-break: break-all;
  overflow: hidden;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}


//判断token不存在，提示框出现
.maskPrompt {
  position: fixed;
  left: 0;
  top: 0;
  right: 0;
  bottom: 0;
  background-color: rgba(0, 0, 0, 0.6);
  z-index: 99999;
  .maskProCont {
    background-color: #fff;
    width: 80vw;
    height: 40.5333vw;
    position: absolute;
    left: 0;
    top: 0;
    right: 0;
    bottom: 0;
    margin: auto;
    text-align: center;
    h1 {
      line-height: 11.7333vw;
      font-weight: normal;
      font-size: 4.8vw;
    }
    p {
      line-height: 16vw;
      font-size: 3.7333vw;
    }
    .maskProContOpera {
      border-top: 1px solid #efefef;
      display: flex;
      justify-content: space-between;
      text-align: center;
      a {
        width: 50%;
      }
    }
  }
}
